package com.wp.agency;

/**
 * 中介》》也称代理人
 */
public class Agent implements Rent{
    private Master master;

    public Agent() {
    }

    public Agent(Master master) {
        this.master = master;
    }

    public void Rent() {
        SeeTheApartment();
        master.Rent();
    }

    public void SeeTheApartment(){
        System.out.println("看房子");
    }

}
